// 系统管理相关接口

import { post } from "@/utils/http";

// 枚举
enum Api {
  userAuth = "/permission/userAuth", // 获取当前用户权限
}

function getUserAuth(pageAuthority: string) {
  return post(Api.userAuth, { pageAuthority });
}

export { getUserAuth };
